/* assets/modules/movie/css/list.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}
/*查询表单样式*/
.search>form>div{
    /*行内块状*/
    display: inline-block;
}
.search>form>div>:is(input,select){
    outline: none;
    border: 1px solid #883c3c;
    width: 180px;
    padding: 5px 0px 5px 5px;
    top: 20px;
}
.search>form>div>label{
    margin-left: 10px;
}



/*==*/




/* 操作按钮区域 */
.action {
    padding: 12px;
    text-align: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 12px;
}

.action button {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.action button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.action button#add {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.action button#edit {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.action button#del {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}
.action button#desc {
    background: linear-gradient(135deg, #1a9d31 0%, #1ed738 100%);
}
.action button#asc {
    background: linear-gradient(135deg, #3f74ef 0%, #1ed738 100%);
}

/* 表格样式 */
#tbl {
    width: 95%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#tbl thead {
    background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);
    color: white;
}

#tbl th {
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
}

#tbl td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
}

#tbl tbody tr {
    transition: all 0.3s ease;
}

#tbl tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.01);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#tbl tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

#tbl tbody tr:nth-child(even):hover {
    background-color: #f0f0f0;
}

/* 分页样式 */
.paginate {
    text-align: center;
    margin: 30px 0;
}

.paginate ul {
    display: inline-flex;
    list-style: none;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.paginate li {
    background-color: white;
}

.paginate li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.paginate li a:hover {
    background-color: #43cea2;
    color: white;
}

.paginate .first, .paginate .prev, .paginate .next, .paginate .last {
    background-color: #f8f9fa;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search {
        padding: 15px;
    }

    .search > div {
        display: block;
        margin-bottom: 15px;
    }

    .search label {
        display: block;
        text-align: left;
        margin-bottom: 5px;
        width: auto;
    }

    .search input[type="text"] {
        width: 100%;
    }

    .action {
        padding: 15px;
    }

    .action button {
        display: block;
        width: 100%;
        margin: 5px 0;
    }

    #tbl {
        font-size: 14px;
    }

    #tbl th, #tbl td {
        padding: 8px 5px;
    }

    .paginate ul {
        flex-wrap: wrap;
    }
}
#check-all {
    width: 20px;
    height: 20px;
}
.check-item{
    width: 20px;
    height: 20px;
}


.highlight{
     background-color: yellow;
 }
/* 分页信息和票房总计区域美化 */
#page-info-one {
    text-align: center;
    margin: 15px auto;
    padding: 15px 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #43cea2;
    border-bottom: 3px solid #ffc107;
    max-width: 700px;
    position: relative;
    overflow: hidden;
}

#page-info-one:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #43cea2, #ffc107);
}

#page-info-one:after {
    content: "🎬";
    position: absolute;
    top: 8px;
    right: 15px;
    font-size: 18px;
    opacity: 0.15;
}

#page-info {
    font-size: 15px;
    color: #495057;
    font-weight: 500;
    display: inline-block;
    background: rgba(67, 206, 162, 0.1);
    padding: 8px 15px;
    border-radius: 6px;
    margin-right: 10px;
}

#money-sum {
    font-size: 15px;
    color: #5d4037;
    font-weight: 500;
    display: inline-block;
    background: rgba(255, 193, 7, 0.1);
    padding: 8px 15px;
    border-radius: 6px;
}

#page-info span, #money-sum span {
    font-weight: 700;
    padding: 0 3px;
}

#total-all, #total-pages {
    color: #667eea;
    font-size: 17px;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

#total-money {
    color: #e74c3c;
    font-size: 17px;
    font-weight: 800;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 - 在小屏幕上垂直排列 */
@media (max-width: 768px) {
    #page-info-one {
        margin: 10px 10px;
        padding: 12px 15px;
    }

    #page-info, #money-sum {
        display: block;
        margin: 5px 0;
        font-size: 14px;
    }

    #page-info {
        margin-bottom: 8px;
    }

    #total-all, #total-pages, #total-money {
        font-size: 16px;
    }
}

/* 悬浮效果 */
#page-info-one:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}
